package com.sky.service;

import com.sky.controller.user.AdressController;
import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void add(AddressBook book);
    List<AddressBook>getAlladresses();
    AddressBook getdefault();
    void setdefault(Integer id);
    AddressBook getByid(Integer id);
    void update(AddressBook book);
    void delete(Integer id);
}
